Configure Route Map Set

You can configure a route map set.

About this task

Follow this procedure to configure a route map set.

Procedure

  1. Run the following command to create a route map set:
    efa policy route-map-set create

    Example:

    efa policy route-map-set create --name rmap1 --rule "seq[1],action[permit]" --set-largecommunitylist-delete lgcomm1
    +----------------+---------+--------+
    | Route Map Name | Seq num | Action |
    +----------------+---------+--------+
    | rmap1          | 1       | permit |
    +----------------+---------+--------+
    Route Map details
    +---------------+---------+--------+-----------------+
    |  IP Address   | Result  | Reason | Rollback reason |
    +---------------+---------+--------+-----------------+
    | 10.139.44.159 | Success |        |                 |
    +---------------+---------+--------+-----------------+
    Device Results
    
    efa policy route-map-set create --name rmap1 --rule "seq[1],action[permit]" --set-largecommunity 50:50:50,additive         
    +----------------+---------+--------+
    | Route Map Name | Seq num | Action |
    +----------------+---------+--------+
    | rmap1          | 1       | permit |
    +----------------+---------+--------+
    Route Map details
    +---------------+---------+--------+-----------------+
    |  IP Address   | Result  | Reason | Rollback reason |
    +---------------+---------+--------+-----------------+
    | 10.139.44.159 | Success |        |                 |
    +---------------+---------+--------+-----------------+
    Device Results
  2. Verify the following configuration on SLX devices:
    SLX# show running-config route-map
    route-map rmap1 permit 1
     set large-community 50:50:50 additive
     set large-community-list lgcomm1 delete
    !
  3. Run the following command to delete a route map set:
    efa policy route-map-set delete

    Example:

    efa policy route-map-set delete --name rmap1 --rule "seq[1],action[permit]" --set-largecommunity 50:50:50,additive --set-largecommunitylist-delete lg1
    +----------------+---------+--------+
    | Route Map Name | Seq num | Action |
    +----------------+---------+--------+
    | rmap1          | 1       | permit |
    +----------------+---------+--------+
    Route Map details
    +---------------+---------+--------+-----------------+
    |  IP Address   | Result  | Reason | Rollback reason |
    +---------------+---------+--------+-----------------+
    | 10.139.44.159 | Success |        |                 |
    +---------------+---------+--------+-----------------+
    Device Results